package com.authine.cloudpivot.common.extension.client;

import com.alibaba.cola.dto.SingleResponse;
import com.authine.cloudpivot.common.extension.client.dto.AbstractMessageDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 消息服务扩展点默认扩展API
 * <p>
 * 请勿修改任何内容
 */
@FeignClient(name = "app-commonserviceextension", path = "/message/v1")
public interface MessageExtensionFeignServiceI {

    @PostMapping("/send_message")
    SingleResponse<Boolean> sendMessage(@RequestBody AbstractMessageDTO message);

}
